package net.pimpas.context;

import java.util.Iterator;
import java.util.Locale;
import java.util.ResourceBundle;

import net.pimpas.core.context.FrameworkContext;
import net.pimpas.core.session.FrameworkSession;
import net.pimpas.session.DefaultFrameworkSession;

public class DefaultFrameworkContext implements FrameworkContext {

	private static final long serialVersionUID = -7270892997476342353L;
	private Locale ptBR = new Locale("pt", "BR");
	private FrameworkSession session;
	
	public DefaultFrameworkContext() {
		this.setSession(new DefaultFrameworkSession());
	}

	public Locale getDefaultLocale() {
		return ptBR;
	}

	public ResourceBundle getDefaultResourceBundle() {
		return null;
	}

	public Locale getLocale() {
		return ptBR;
	}

	public ResourceBundle getResourceByName(String name) {
		return null;
	}

	public FrameworkSession getSession() {
		return this.session;
	}

	public Iterator getSupportedLocales() {
		return null;
	}

	public void setSession(FrameworkSession session) {
		this.session = session;
	}
}